home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / printer / finep127.zip / UPDATE.BAT < prev   
DOS Batch File  |  1997-03-12  |  2KB  |  61 lines

  1.     @echo off
  2.  
  3. REM
  4. REM        Fine Print update utility.
  5. REM
  6.  
  7.     cls
  8.     echo -----------------------------------------------------
  9.     echo !              FINE PRINT UPDATE UTILITY            !
  10.     echo -----------------------------------------------------
  11.     echo.
  12.     echo This will update Fine Print on a system which already has
  13.     echo Fine Print installed on it.
  14.     echo.
  15.     echo You cannot use this to perform a first-time installation of
  16.     echo Fine Print.  Please see SETUP.HLP for details on installing
  17.     echo Fine Print for the first time.
  18.     echo.
  19.  
  20.     if "%windir%" == "" goto NoWindir
  21.     if exist %windir%\system\fineprt.drv goto FoundFP
  22.     echo WARNING: Fine Print does not appear to be installed on your
  23.     echo system.  Results are not guaranteed.
  24.     echo.
  25.  
  26. :FoundFP
  27.     echo Ready to update Fine Print.  Hit Ctrl-C to cancel.
  28.     echo.
  29.     pause
  30.     echo.
  31.     del %windir%\system\fineprt.drv >nul
  32.     echo.
  33.     if exist %windir%\system\fineprt.drv goto CannotDelete
  34.     copy fineprt.drv %windir%\system
  35.     copy fineprt.hlp %windir%\system
  36.     copy fineui.dll  %windir%\system
  37.     copy register.exe %windir%\system
  38.     copy register.hlp %windir%\system
  39.     echo.
  40.     echo *** Fine Print was successfully updated. ***
  41.     goto EXIT
  42.  
  43. :CannotDelete
  44.     echo ERROR: the Fine Print driver is currently in use and cannot
  45.     echo be updated.  Please exit all applications and restart Windows.
  46.     echo.
  47.     echo If Fine Print is the default system printer, then you may also
  48.     echo need to select a different printer before updating Fine Print.
  49.     echo.
  50.     echo If all else fails, then simply re-install Fine Print from the
  51.     echo Control Panel Printers applet (Windows 3.1x) or from the
  52.     echo Printers folder (Windows 95).
  53.     goto EXIT
  54.  
  55. :NoWindir
  56.     echo ERROR: Windows is not running.  Please start Windows and run
  57.     echo this file from an MS-DOS prompt.
  58.     goto EXIT
  59.  
  60. :EXIT
  61.